package com.example.movie.mate.service;

import com.example.movie.mate.pojo.param.PlayScheduleAddNewParam;
import com.example.movie.mate.pojo.vo.PlayScheduleVO;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDate;
import java.util.List;

/**
 * 放映计划服务接口
 */
@Transactional
public interface IPlayScheduleService {

    void addNew(PlayScheduleAddNewParam param);

    List<PlayScheduleVO> selectByMovieIdAndDate(Long movieId, LocalDate date);

    List<PlayScheduleVO> selectByHallIdAndDate(Long hallId, LocalDate date);

}